/**
 * Created by alan on 2017/5/5.
 * 数据字典
 */
Ext.define("Admin.store.sys.Dict", {
  extend: "Ext.data.Store",

  alias: "store.dict",

  model: "Admin.model.sys.Dict",
  pageSize:20,
  proxy: {
    type: "ajax",
    url: config.URL+"szy/sys/dict/list",
    extraParams: {river:config.RIVER},
    // extraParams: {
    //    pageNo:0,
    //    pageSize:30
    // },
    reader: {
      type: 'json',
      rootProperty: 'page.list',
      totalProperty: 'page.count'
    }
  },
  autoLoad: true,
  autoSync: true,
})
